package com.bbcare.img.plat.entity;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 * @name: ai_equipfile_rule 设备文件命名规则实体类
 * @author: DemonLee
 * @createDate: 2017.10.21
 * @description: 设备文件命名规则
 * @modify:
 * 
 */
@Entity
public class AiEquipFileRule implements Serializable {
    private static final long serialVersionUID = 1L;
    // 规则id，唯一标识
    private String id;
    // 设备分类id
    private String classId;
    // 当前字段的规则名称，如patientName（患者姓名）、hisNo（科研编号）、fileDate（文件创建时间）等，按需求进行定义
    private String ruleName;
    // 当前规则名称对应的位置前缀，开头没有前缀则用空表示
    private String rulePrefix;
    // 当前规则名称对应的位置后缀，后缀为空则表示取到最后
    private String ruleSuffix;
    // 当前字段规则对应的开始位置，从0开始
    private Integer beginIndex;
    // 当前字段规则的序号，从0开始递增，升序排列
    private Integer seqNo;
    // 创建时间
    private String createTime;
    // 更新时间
    private String updateTime;
    // 创建人id
    private String createAuthor;
    // 更新人id
    private String updateAuthor;
    // 有效标志，0无效，1有效
    private String status;
    // 租户id
    private String tenantId;
    // 规则类型，00文件名规则，01文件路径规则
    private String ruleType;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getClassId() {
        return classId;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRulePrefix(String rulePrefix) {
        this.rulePrefix = rulePrefix;
    }

    public String getRulePrefix() {
        return rulePrefix;
    }

    public void setRuleSuffix(String ruleSuffix) {
        this.ruleSuffix = ruleSuffix;
    }

    public String getRuleSuffix() {
        return ruleSuffix;
    }

    public void setBeginIndex(Integer beginIndex) {
        this.beginIndex = beginIndex;
    }

    public Integer getBeginIndex() {
        return beginIndex;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }

    public Integer getSeqNo() {
        return seqNo;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setCreateAuthor(String createAuthor) {
        this.createAuthor = createAuthor;
    }

    public String getCreateAuthor() {
        return createAuthor;
    }

    public void setUpdateAuthor(String updateAuthor) {
        this.updateAuthor = updateAuthor;
    }

    public String getUpdateAuthor() {
        return updateAuthor;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }
}
